<!DOCTYPE html>
<html >
<head>
	<meta charset="UTF-8">
	<title>阻止默认行为</title>
</head>
<body>
	<script>
		document.oncontextmenu = function(){
			return false;  //阻止默认行为
		}
	</script>
</body>
</html>